package consts

const (
	Captcha_Store_Type_Local = "local"
	Captcha_Store_Type_Redis = "redis"

	Captcha_Solid_Code_Default = "111111"

	Captcha_Complex_LV_Min  = 0
	Captcha_Complex_LV_Low  = 1
	Captcha_Complex_LV_Mid  = 2
	Captcha_Complex_LV_High = 3
	Captcha_Complex_LV_Max  = 4

	Permission_All       = "*:*:*"
	Role_Admin           = "admin"
	ConfigKey_InitPasswd = "sys.user.initPassword"

	GORM_CallBack_DataScope = "mo:before_query:dataScope"
	Gorm_Config_DataScope   = "mo:dataScope:enable"
	Gorm_Config_OnlineUser  = "mo:onlineUser"
	Gorm_Config_User_Alias  = "mo:userAlias"
	Gorm_User_Alias_Default = "u."
	Gorm_Config_Dept_Alias  = "mo:deptAlias"
	Gorm_Dept_Alias_Default = "d."

	Gorm_Config_DataScope_Count = "mo:dataScope:count"

	Gorm_Config_MaxCount_PerReq = "mo:dataScope:maxcount:perreq"
	Gorm_MaxCount_PerReq_Def    = 1

	Gorm_DBType_Sqlite3 = "sqlite3"
)
